package au.com.iglootech.silmbox_sm.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import au.com.iglootech.silmbox_sm.dao.GenericDao;
import au.com.iglootech.silmbox_sm.enities.User;
import au.com.iglootech.silmbox_sm.service.UserService;

@Component
public class UserServiceImpl implements UserService {

	@Resource
	private GenericDao genericDao;
	
	public void createUser(User user) {
		genericDao.save(user);
	}

}
